//
//  PhotoNet.h
//  SportSocial
//
//  Created by yull on 14/12/13.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import "BaseNet.h"

@interface PhotoNet : BaseNet

+ (AFHTTPRequestOperation *)photoPaginateWithUserId:(UInt64)userId
                                         PageNumber:(NSInteger)pageNumber
                                           pageSize:(NSInteger)pageSize
                                       successBlock:(httpSuccessBlock)successBlock
                                          failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)queryByFromDate:(NSString *)fromDate
                                     toDate:(NSString *)toDate
                               successBlock:(httpSuccessBlock)successBlock
                                  failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)uploadPhotoData:(NSData *)photoData
                               successBlock:(httpSuccessBlock)successBlock
                                  failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)deletePhotoWithUrlArray:(NSArray *)urlArray
                                       successBlock:(httpSuccessBlock)successBlock
                                          failBlock:(httpFailBlock)failBlock;

@end
